﻿<!DOCTYPE html>
<html lang="zh-CN">
<style>
tr{
    height: 10px;
}
.t{
    height: 30px;
}
 th,td{
     width:175px;
 }
</style>
     <div class="bjui-pageContent">
        <div>
                   <table  text-align="center" data-toggle="tablefixed"  data-width="98.5%"     >
                       <tr class="t">
                           <th>工艺指示</th>
                           <g:each in="${PPIDTableList}" status="i" var="tableInstance">
                            <td colspan=2  >${tableInstance.DEFAULT_VALUE}</td>
                           </g:each>
                       </tr>
                       <tr class="t">
                           <th>备注</th>
                           <td  colspan=4 align="center">${BZList.ACTION_REASON[0]}</td>
                       </tr>
                       <tr class="t">
                           <th width="95" rowspan="${equipList.size()+1}" align="center">设备列表</th>
                           <th width="95">设备编号</th>
                           <th width="95">设备型号</th>
                           <th width="95">设备名称</th>
                           <th width="95">设备有效期</th>
                       </tr>
                       <g:each in="${equipList}" status="i" var="tableInstance">
                           <tr class="t">
                               <td width="95">${tableInstance.EQUIPMENT_ID}</td>
                               <td width="95">${tableInstance.DESCRIPTION}</td>
                               <td width="95">${tableInstance.EQP_TYPE}</td>
                               <td width="95"></td>
                           </tr>
                       </g:each>
                   </table>
            </div>
            <div style="float: left">
                    <table  text-align="center" data-toggle="tablefixed"    >
                        <tr class="t">
                            <th style="width: 350px;"  colspan=2  align="center">工步属性项目</th>
                        </tr>
                        <g:each in="${stepRrnList}" status="i" var="tableInstance">
                            <tr class="t">
                                <td >${tableInstance.DESCRIPTION}</td>
                                <td style="width: 200px;" >${tableInstance.ATTRIBUTE_VALUE}</td>
                            </tr>
                        </g:each>
                    </table>
            </div>
                <div style="float: left">
                    <table  text-align="center" data-toggle="tablefixed"     >
                        <tr class="t">
                            <th colspan=2 align="center">数据采集项目</th>
                        </tr>

                        <tr>
                            <th >数据采集项集描述</th>
                            <td >${dataList.DESCRIPTION[0]}</td>
                        </tr>
                        <tr>
                            <th >采集人</th>
                            <td >${dataList.OPERATOR[0]}</td>
                        </tr>
                        <tr>
                            <th >采集设备</th>
                            <td >${dataList.MEASURE_EQP[0]}</td>

                        </tr>
                        <tr>
                            <th >采集时间</th>
                            <td >${dataList.UPDATED[0]}</td>
                        </tr>
                        <tr>
                            <th >抽样计划</th>
                            <td >${dataList.SAMPLE_PLAN[0]}</td>
                        </tr>
                        <tr>
                            <th >单位</th>
                            <td >${dataList.UNIT[0]}</td>
                        </tr>
                        <tr>
                            <th >下/中/上限</th>
                        <g:if test="${dataList.size()>0}">
                            <td >${dataList.LSL[0]+"/"+dataList.SL[0]+"/"+dataList.USL[0]}</td>
                        </g:if>
                        </tr>
                        <tr>
                            <th >采集项描述</th>
                            <td >${dataList.EIDESC[0]}</td>
                        </tr>

                            <tr>
                                <th rowspan="${dataList.size+1}">数据</th>

                            </tr>
                        <g:each in="${dataList}" status="i" var="data">
                            <tr>
                                <td>${data.DC_DATA}</td>
                            </tr>
                        </g:each>

                    </table>
                </div>
         <div style="float: left">
             <g:each in="${testData}" var="data">
                 <div>
                 <table  text-align="center" data-toggle="tablefixed"  >

                 <tr>
                     <td >采集人</td><td>${data.user}</td>
                 </tr>
                 <tr>
                     <td >时间</td><td>${data.time}</td>
                 </tr>
                     <tr>
                         <td >设备</td><td>${data.eqp}</td>
                     </tr>
                 <g:each in="${data.data}" var="d">
                     <tr>
                          <td>${d.DESCRIPTION}</td><td>${d.DC_DATA}</td>
                     </tr>
                 </g:each>

                 </table>
                 </div>
             </g:each>
         </div>
     </div>
</html>
